package com.swx.identityservice.dtos.permission;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;

/**
 * @author Administrator
 * @version V1.0.0
 * @date 2018/6/3 0003 0:36
 */
@Data
@ApiModel("更新权限Dto")
public class UpdatePermissionDto {

    @Column(name = "Id")
    private Integer id;


    @ApiModelProperty(value = "父id",example = "0")
    @Column(name = "Pid")
    private Integer pid;

    @ApiModelProperty(value = "权限url",example = "角色新增")
    @Column(name = "Name")
    private String name;


    @ApiModelProperty(value = "权限url",example = "Roles_Insert")
    @Column(name = "Permission")
    private String permission;

//    @ApiModelProperty(value = "创建时间",example = "2018/06/25 08:15:50")
//    @Column(name = "CreationTime")
//    private Date creationtime;

}
